package com.zmhz.model;

import java.util.Date;

import com.eova.common.base.BaseModel;
/**
 * 
 * 项目名称：中国种苗互助平台
 * 类名称：FrontUsers
 * 类描述：前台用户实体类
 * 创建人：Liu Haibin
 * 创建时间：2017年11月28日 上午11:18:42
 */
public class Frontusers extends BaseModel<Frontusers>{

	
	private static final long serialVersionUID = 7463360830245237522L;
	public static final Frontusers dao = new Frontusers();
	
	private Integer id;
	private String phone;
	private String pwd;
	private Integer usertype;
	private Integer userstatus;//'用户状态：0=注册用户,1=会员用户,2=会员过期',
	private String token;// 'token',
	private Date regtime;//'注册时间',
	private Date lasttime;//'上次登录时间',
	private Date logintime;// '本次登录时间',
	private Integer errornum;// '登录错误次数',
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public Integer getUsertype() {
		return usertype;
	}
	public void setUsertype(Integer usertype) {
		this.usertype = usertype;
	}
	public Integer getUserstatus() {
		return userstatus;
	}
	public void setUserstatus(Integer userstatus) {
		this.userstatus = userstatus;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public Date getRegtime() {
		return regtime;
	}
	public void setRegtime(Date regtime) {
		this.regtime = regtime;
	}
	public Date getLasttime() {
		return lasttime;
	}
	public void setLasttime(Date lasttime) {
		this.lasttime = lasttime;
	}
	public Date getLogintime() {
		return logintime;
	}
	public void setLogintime(Date logintime) {
		this.logintime = logintime;
	}
	public Integer getErrornum() {
		return errornum;
	}
	public void setErrornum(Integer errornum) {
		this.errornum = errornum;
	}
	
}
